package io.renren.modules.app.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.renren.modules.app.dao.ApiGoodsMapper;
import io.renren.modules.app.entity.GoodsVo;
import io.renren.modules.app.service.ApiGoodsService;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 *商品服务实现类
 */
@Service("apiGoodsService")
public class ApiGoodsServiceImpl extends ServiceImpl<ApiGoodsMapper,GoodsVo> implements ApiGoodsService {
    @Override
    public List<GoodsVo> queryList(Map<String, Object> map) {
        return baseMapper.queryList(map);
    }

    @Override
    public int queryTotal(Map<String, Object> map) {
        return baseMapper.queryTotal(map);
    }
}
